
import instance from "@/utils/request";

// interface dataType {
//     page: number,
//     size: number
// }

type dataType = {
    page: number,
    size: number
}
export function gettopicdata(data: dataType) {
    return instance({
        method: 'get',
        url: '/topic/list',
        params: data
    })
}